package com.ruoyi.water.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel; // 新增Excel注解导入
import lombok.Data;

@Data
@TableName("t_areaanalyse")
public class AreaAnalyse {

    /** 自增主键ID */
    @Excel(name = "主键ID")
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    /** 区域ID */
    @Excel(name = "区域ID")
    @TableField("areaId")
    private Integer areaId;

    /** 区域名称 */
    @Excel(name = "区域名称")
    @TableField("areaName")
    private String areaName;

    /** 当日用水值 */
    @Excel(name = "当日用水值")
    @TableField("todayWaterVal")
    private Double todayWaterVal;

    /** 当日偏差值 */
    @Excel(name = "当日偏差值")
    @TableField("todayBiasVal")
    private Double todayBiasVal;

    /** 当日偏差百分比 */
    @Excel(name = "当日偏差百分比")
    @TableField("todayBiasPercent")
    private Double todayBiasPercent;

    /** 当月用水值 */
    @Excel(name = "当月用水值")
    @TableField("monthWaterVal")
    private Double monthWaterVal;

    /** 当月偏差值 */
    @Excel(name = "当月偏差值")
    @TableField("monthBiasVal")
    private Double monthBiasVal;

    /** 当月偏差百分比 */
    @Excel(name = "当月偏差百分比")
    @TableField("monthBiasPercent")
    private Double monthBiasPercent;

    /** 当年用水值 */
    @Excel(name = "当年用水值")
    @TableField("yearWaterVal")
    private Double yearWaterVal;

    /** 当年偏差值 */
    @Excel(name = "当年偏差值")
    @TableField("yearBiasVal")
    private Double yearBiasVal;

    /** 当年偏差百分比 */
    @Excel(name = "当年偏差百分比")
    @TableField("yearBiasPercent")
    private Double yearBiasPercent;

    /** 分析日期 */
    @Excel(name = "分析日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("analyseDate")
    private Date analyseDate;

    /** 记录时间 */
    @Excel(name = "记录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("recordTime")
    private Date recordTime;
}